macro(build_rpc_example_project MODULE)
  include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}
	${PROJECT_SOURCE_DIR}
	${PROJECT_SOURCE_DIR}/util
	${PROJECT_SOURCE_DIR}/zerorpc
	)

	# 生成exe
	aux_source_directory(. DIR_SRCS)
	
	file(GLOB HEAD_FILE_LIST *.h)

    add_executable(${MODULE} ${DIR_SRCS} ${HEAD_FILE_LIST})
	
	target_link_libraries(${MODULE} util zerorpc)

endmacro()


add_subdirectory(rpcServer)

add_subdirectory(codeGenerate)

add_subdirectory(rpcFlowServer)
